using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace QuanLyThietBi.Entity
{
                

     public class TBL_LoaiThietBiEntity:AF_ORM.CORE.BaseEntity
    {
         public TBL_LoaiThietBiEntity()
         {
             tableName = "TBL_LoaiThietBi";


			 fieldInfos.Add(new FieldInfo("TBL_LoaiThietBi","MaLoaiTB","MaLoaiTB","string",10,true,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_LoaiThietBi","MoTa","MoTa","string",200,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("TBL_LoaiThietBi","TenLoaiTB","TenLoaiTB","string",200,false,true,true,false,"","",""));
         }
       //properties
                    
		 protected string m_MaLoaiTB;
		 protected string m_MoTa;
		 protected string m_TenLoaiTB;

		 public string MaLoaiTB

          { 
                get { 
                    return m_MaLoaiTB;}

                set{m_MaLoaiTB=value;

                    GetField("MaLoaiTB").Set();
                    GetField("MaLoaiTB").IsNull=(value == null);           
                    }
          }
		 public string MoTa

          { 
                get { 
                    return m_MoTa;}

                set{m_MoTa=value;

                    GetField("MoTa").Set();
                    GetField("MoTa").IsNull=(value == null);           
                    }
          }
		 public string TenLoaiTB

          { 
                get { 
                    return m_TenLoaiTB;}

                set{m_TenLoaiTB=value;

                    GetField("TenLoaiTB").Set();
                    GetField("TenLoaiTB").IsNull=(value == null);           
                    }
          }

}
}
